package com.bawei.hgshop.entity;

import java.util.List;

/**
 * spu 的查询条件
 * @时间  2021-1-13  15:20:17
 *
 */
public class SpuVo  extends Spu{

	/**
	 * 
	 */
	private static final long serialVersionUID = -5216839346495171366L;
	
	int page=1;
	int pageSize=10;
	
	List<SpecOption> options;
	
	// 排序字段
	String sortField;
	// 0 升序  1 降序
	int sortType=0;
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public String getSortField() {
		return sortField;
	}
	public void setSortField(String sortField) {
		this.sortField = sortField;
	}
	public int getSortType() {
		return sortType;
	}
	public void setSortType(int sortType) {
		this.sortType = sortType;
	}
	
	@Override
	public String toString() {
		return "SpuVo [page=" + page + ", pageSize=" + pageSize + ", sortField=" + sortField + ", sortType=" + sortType
				+ ", getId()=" + getId() + ", getGoodsName()=" + getGoodsName() + ", getIsMarketable()="
				+ getIsMarketable() + ", getCaption()=" + getCaption() + ", getSmallPic()=" + getSmallPic()
				+ ", getCategory()=" + getCategory() + ", getBrand()=" + getBrand() + ", hashCode()=" + hashCode()
				+ ", getClass()=" + getClass() + ", toString()=" + super.toString() + "]";
	}
	
	public List<SpecOption> getOptions() {
		return options;
	}
	public void setOptions(List<SpecOption> options) {
		this.options = options;
	}
	
	
	
	
	
	

}
